package com.ws.shop.dao;

import com.ws.shop.bean.Page;
import com.ws.shop.entity.Message;

public interface MessageDao {

	public void getMessages(final Page page,final int state);
	
	public void getMessageByUid(final Page page,final int state ,final long uid);

	public int saveMessage(Message message);

	public Page findMessageListByPage(int pageno, int pagesize, String start,
			String end, String name, int aid);

	public void reply(Message message);

	public Message findMessageById(int id);
}
